package com.qf.group.common.base.ex;


import com.qf.group.common.base.result.ResultStatus;
import lombok.Getter;


@Getter
public class BaseException extends RuntimeException {
    private final ResultStatus resultStatus;

    public BaseException(ResultStatus resultStatus) {
        super(resultStatus.getMsg());
        this.resultStatus = resultStatus;
    }

}
